package com.lt.test.provider.mapper;

import com.lt.test.entity.DTO.CgtCustDTO;
import com.lt.test.entity.QueryModel.PageQueryModel;

import java.util.List;
import java.util.Map;

/**
 * 自定义烟草客户查询
 * @author zhengchuan
 *
 */
public interface CgtCustCustomMapper {
	/**
	 * 分页查询烟草客户信息
	 * @param pagequeryModel
	 * @return
	 * @throws Exception
	 */
	List<CgtCustDTO> findCgtCustByPage(PageQueryModel pagequeryModel) throws Exception;

	List<Map<String,Object>> cgtCustInfoExportExcel(PageQueryModel pageQueryModel);

	/**
	 * 查询烟草客户总数
	 * @param pageQueryModel 
	 * @return
	 */
	int getCgtCustCount(PageQueryModel pageQueryModel) throws Exception;

	/**
	 * 获取用户基本信息
	 * @param custCode
	 * @return
	 */
    CgtCustDTO getUserBasicInfo(String custCode) throws Exception;


}
